package com.atguigu.gulimall.gulimallproduct.service;

import com.atguigu.gulimall.gulimallproduct.entity.SpuInfoDescEntity;
import com.atguigu.gulimall.gulimallproduct.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.gulimallproduct.entity.SpuInfoEntity;

import java.io.IOException;
import java.util.Map;

/**
 * spu信息
 *
 * @author zjn
 * @email zjn@gmail.com
 * @date 2021-09-13 19:18:26
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo vo);


    void saveBaseSpuInfo(SpuInfoEntity infoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    void up(Long spuId) throws IOException;

    SpuInfoEntity getSpuInfoBySkuId(Long skuId);
}

